import service from "./request.js";

export default {
  // 获取核销标签条报表分页信息
  cancelLabelPage(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/report/cancelLabel/page",
      data: query,
    });
  },
  // 获取核销标签条报表核销明细分页信息
  cancelDetailPage(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/report/cancelLabel/cancelDetail",
      data: query,
    });
  },
  // 核销标签条报表导出
  cancelLabelExport(query) {
    return service({
      method: "PATCH",
      url: "/admin-api/system/report/cancelLabel/export",
      data: query,
    });
  },
  // 获取积分核销统计报表分页信息
  cancelPointsPage(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/report/cancelPoints/page",
      data: query,
    });
  },
  // 获取积分核销统计报表明细分页信息
  cancelPointsDetailPage(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/report/cancelPoints/detail",
      data: query,
    });
  },
  // 积分核销统计报表报表导出
  cancelPointsExport(query) {
    return service({
      method: "PATCH",
      url: "/admin-api/system/report/cancelPoints/export",
      data: query,
    });
  },
  // 获取经销商统计报表分页信息
  dealerPage(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/report/dealer/page",
      data: query,
    });
  },
  // 获取经销商统计报表核销明细分页信息
  dealerDetail(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/report/dealer/dealerDetail",
      data: query,
    });
  },
  // 经销商统计报表导出
  dealerExport(query) {
    return service({
      method: "PATCH",
      url: "/admin-api/system/report/dealer/export",
      data: query,
    });
  },
};
